@spacing:0.1rem;
@themColor:#ddd;
@borderRadius:0.3rem;
@cardRadius:0.2rem;
@titleFontSize:0.3rem;
@textFontSize:0.22rem;
.flex-contaniner(@alignItem:center,@justifyContent:center){
    display: flex;
    align-items: @alignItem;
    justify-content: @justifyContent;
}
.clearfix{overflow:hidden;_zoom:1;}
//---单行/多行文字溢出省略
.ellipsis(@line:1) when (@line=1){
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ellipsis(@line:1) when (@line>1){
    display: -webkit-box!important;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: @line;
}